import instance from '@/utils/request'


// 获取资源上传token
export const getQiNiuToken = () => instance.get('sources/token')
// 资源分页
export const sourcePage = (params) => instance.post("sources/page", params)

//添加上传文件信息
export const uploadSource = (data) => instance.post('sources/add', data)


// 删除资源信息
export const sourceDelete = (id) => instance.get('sources/delete/' + id)





